/**
 * 
 */
package com.feib.stms.security.captcha;

import org.springframework.security.core.AuthenticationException;

/**
 * Thrown if an authentication request is rejected because the captcha is invalid. For this exception to be
 * thrown, it means the captcha is incorrect.
 * @author Jimmy Liu
 *
 */
public class CaptchaAuthenticationException extends AuthenticationException {

	private static final long serialVersionUID = 7646174276904275164L;

	/**
	 * @param msg
	 */
	public CaptchaAuthenticationException(String msg) {
		super(msg);
	}

	/**
	 * @param msg
	 * @param t
	 */
	public CaptchaAuthenticationException(String msg, Throwable t) {
		super(msg, t);
	}

	/**
	 * @param msg
	 * @param extraInformation
	 */
	public CaptchaAuthenticationException(String msg, Object extraInformation) {
		super(msg, extraInformation);
	}

}
